import 'package:boss/models/store_area.dart';
import 'package:boss/ui/widget/title_row_button.dart';
import 'package:flutter/material.dart';

class AreaManagementItem extends StatelessWidget {
  final StoreArea data;
  final VoidCallback onTap;

  const AreaManagementItem({
    Key key,
    @required this.data,
    this.onTap,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return TitleRowButton(
      onTap: onTap,
      title: data.areaName,
      value: '',
      hintText: '',
    );
  }
}
